import request from '@/utils/request'

export function listtsTeam(query) {
  return request({
    url: '/tsTeam/list',
    method: 'get',
    params: query
  })
}

export function createtsTeam(data) {
  return request({
    url: '/tsTeam/create',
    method: 'post',
    data
  })
}

export function readtsTeam(data) {
  return request({
    url: '/tsTeam/get/' + data.fteamno,
    method: 'get'
  })
}

export function updatetsTeam(data) {
  return request({
    url: '/tsTeam/update',
    method: 'post',
    data
  })
}

export function deletetsTeam(data) {
  return request({
    url: '/tsTeam/delete/' + data.fteamno,
    method: 'delete'
  })
}
